﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FanaticRock.Core.Models
{
    public class BytesResourceSource : ResourceSource
    {
        public byte[] Bytes { get; private set; }
        public BytesResourceSource(byte[] bytes)
        {
            Type = ResourceSourceEnum.Bytes;
            Bytes = bytes;
        }

        public BytesResourceSource(BytesResourceSource other) :this(other.Bytes)
        {
            
        }

        public override object Clone()
        {
            return new BytesResourceSource(this);
        }
    }
}
